package cn.myblog.ainblog.mapper;

import cn.myblog.ainblog.model.CategoryModel;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;
import java.util.List;
import java.util.Map;

/**
 * @author Dovaior
 * @Description category的mapper
 * @create 2021-04-04 20:50
 **/
@Repository
public interface CategoryMapper extends BaseMapper<CategoryModel> {
    /**
     * 用于前端页面公共部分分类的动态显示
     */
    List<CategoryModel> queryAllCategory();
}
